package com.yunxi.rabbitmq.config;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SenderConf {

//    /**
//     * direct Rabbit默认的交换机模式
//     */
//    @Bean(name = "pdiQueue")
//    public Queue pdiQueue() {
//        System.out.println("创建队列pdiQueue");
//        return new Queue("pdiQueue");
//    }


}
